home *** CD-ROM | disk | FTP | other *** search
- Path: news.ios.com!usenet
- From: larrymb@gramercy.ios.com (Pacarana)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: AddIntServer + VERTB strangeness<199603201423.OAA59524@poseidon.bfs.unibol.
- Date: 6 Apr 1996 00:34:12 GMT
- Organization: Internet Online Services
- Message-ID: <1380.6669T1116T2575@gramercy.ios.com>
- References: <PETERM.96Apr4234146@tui.maths.irl.cri.nz>
- NNTP-Posting-Host: ppp-51.ts-1.hck.idt.net
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- >OK, but I feel I should make it clear that it is OS-illegal and unsafe
- >to disable interrupts for "more than a very brief instant".
- >"Disabling for more than 250 microseconds can interfere with normal
- >operation of vital system functions." --- Libraries RKM page 471.
- >Similarly it is OS-illegal and unsafe to take over interrupts by
- >directly poking hardware interrupt vectors. One cannot expect OS
- >calls to work if either of these practices is used. Indeed, one
- >cannot expect to restore normal system operations afterwards except by
- >rebooting.
- Unless you have it hooked into some sort of network, I have never found
- that to be the case. And that reaaly isn't the setup to run every type of game
- in. Even Forbid and oushing all resources to the max, etc. would likely
- enfeeble the machine so much that it wouldno longer be of use in such a
- situation anyway.
-
- >The safe, legal way to install interrupts is to use AddIntServer(),
- >SetIntVector(), QBlit(), AddICRVector(), etc. If anyone is worried
- >about system overheads caused by interrupts not generated by yourself,
- >then practically all of them can be eliminated by installing an
- >input-handler and maybe adjusting task priorities. It is still
- >possible to exclusively allocate and bang other hardware, such as
- >timers, custom gfx, ports, etc.
- Perhaps, but whatever I tried, it never seemed to work out as well.
-
-